import request from '@/utils/request'

export function batchAddStuAttend(data) { // 批量新增学生考勤
  return request({
    url: '/course/attend/batchAddStuAttend',
    method: 'post',
    data: { courseStuAttend: JSON.stringify(data) }
  })
}

export function summaryStuAttend(data) { // 课程签到汇总
  return request({
    url: '/course/attend/summaryStuAttend',
    method: 'post',
    data
  })
}

export function selectStuAttendlist(data) { // 学生签到考勤
  return request({
    url: '/course/attend/selectStuAttendlist',
    method: 'post',
    data
  })
}
